2020-2021 Sunseeker Telemetry and Lighting System
wdt_a_ex3_watchdogACLK.c File Reference
#include "driverlib.h"
#include "Board.h"

Go to the source code of this file.

Functions

void main (void)
 

Function Documentation

◆ main()

void main ( void  )

WDT - Failsafe Clock, 10KHz VLOCLK

Configure WDT in watchdog to timeout sourced by ACLK. LPM3 is entered. This example will demonstrate WDT fail-safe feature by automatically selecting VLOCLK as WDT clock source if ACLK fails. Watchdog timeout will toggle on LED1 every 3 seconds in main function. VLOCLK = 10KHZ, ACLK = 32768, MCLK = SMCLK = default DCO ~1.048MHz

     MSP430FR2xx_4xx Board
       -----------------
   /|\|                 |
    | |                 |
    --|RST              |
      |                 |-->LED1
      |                 |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • WDT peripheral
  • GPIO Port peripheral

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • None.

Definition at line 64 of file wdt_a_ex3_watchdogACLK.c.

References __no_operation().